﻿using CMS.Infos;
using System;

namespace CMS.Controls.Events
{
    public class SyncCourseEventArgs : EventArgs
    {
        /// <summary>
        /// 待提交的课程
        /// </summary>
        public CourseRoom Course { get; set; }

        /// <summary>
        /// 是否是新创建的课程
        /// </summary>
        public bool IsNew { get; set; }


        public SyncCourseEventArgs(CourseRoom course, bool isNew)
        {
            Course = course;
            IsNew = isNew;
        }
    }
}
